This is a script I have been building and tweaking over several years.
Configure the following services
- Enable the Windows Update Service
- Stop and disable Print Spooler service
- Stop and disable Windows Audio Service
- Install SNMP service
- Check for, stop and disable Xbox services
- Stop and disable Computer Browser service
- Disable the WinHTTPAutoProxySvc (to mitigate WPAD vulnerabilities)
- Disable SMBv1
- Disable NetBIOS
- Disable WINS
- Disable IPv6
Settings
- Adjust visual performance setting for all users (HKLM key)
- Disable Shutdown Event Tracker
- Clear page file at shutdown
- Disable indexing on c
- Disable RDP printer mapping
- Enable RDP and set Network Level Authentication
- Disable IEESC for Admins (leave enabled for non-admins)
- Add domain groups to local Administrators group
- Set the folder view to show file extenstions and hidden files and folders (user only preference)
- Mitigate CVE-2017-8529
- Require SMB signatures
- Restrict anonymous enumeration
Installations
- Powershell ISE
- LabTech application